* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
@mixin boredr {
    border: 1px solid red;
}
// 说明文字颜色
@mixin stateFont {
    color: #949494;
    font-size: 13px;
}

// 通用阴影
@mixin shadow {
    box-shadow: 1px 1px;
}
//弹性布局 默认水平垂直居中 主轴为水平
@mixin flexRow {
    display: flex;
    align-items: center;
    justify-content: center;
}
// 通用头部标题的样式
@mixin head {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 70px;
    padding: 10px;
    border-bottom: 1px solid #ccc;
    p {
        @include stateFont();
    }
}
//通用表格数据的样式
@mixin table {
    margin-top: 10px;
    background-color: white;
    box-shadow: 1px 1px 3px 3px #ccc;
    thead {
        background-color: rgb(245, 247, 249);
    }

    th,
    td {
        height: 60px;
        // line-height: 60px;
        text-align: center;
        border: 1px solid #ccc;
        input {
            width: 18px;
            height: 18px;
        }
    }
    th:first-child,
    td:first-child {
        width: 56px;
    }
}
//通用尾部
@mixin foot {
    @include flexRow();
    justify-content: flex-end;
    margin-top: 20px;
    .pageList {
        @include flexRow();
    }
    .previousPageBtn,
    .nextPageBtn,
    .pageList li {
        @include flexRow();
        width: 32px;
        height: 32px;
        margin-right: 10px;
        border: 1px solid rgba(217, 217, 217, 1);
        // background-color: white;
        border-radius: 6px;
        cursor: pointer;
    }

    .changeBtn,
    .jumpPage {
        height: 32px;
        border-radius: 6px;
        outline: none;
        border: 1px solid #ccc;
    }
    .changeBtn {
        margin-right: 10px;
    }
    .jumpPage {
        width: 48px;
        text-align: center;
    }
}

ul,
li {
    list-style: none;
}
body main #main-right {
    background-color: #fff;
    padding: 10px;
}
.pageListActive {
    background-color: rgba(51, 153, 255, 1);
    color: white;
}
// 收银台
.main-cashier {
    display: flex;
    flex-direction: column;
    // height: 1000px;
    background-color: #fff;
    .cashier-title {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        height: 70px;
        padding: 10px;
        border-bottom: 1px solid #ccc;
        p {
            @include stateFont();
        }
    }
    .cashier-main {
        flex: 1;
        .cashier-search {
            width: 500px;
            margin: 200px auto;
            li {
                @include flexRow();
                height: 50px;
                border: 1px solid #ccc;
                select,
                input {
                    height: 100%;
                    border: none;
                    outline: none;
                }
                select {
                    flex: 0.2;
                    padding-left: 5px;
                    border-right: 1px solid #ccc;
                }
                input {
                    padding: 10px;
                    flex: 0.9;
                }
            }
            li:first-child {
                justify-content: space-between;
                img {
                    width: 24px;
                    height: 25px;
                    margin-right: 10px;
                    cursor: pointer;
                }
            }
            li:last-child {
                border: none;
                @include stateFont();
            }
        }
    }
}

.cashier-search-ctn {
    background-color: #eee;
    padding: 0 15px;
    .search-title {
        // width: 80%;
        display: flex;
        align-items: center;
        height: 50px;
        box-shadow: 1px 1px 3px 3px #ccc;
        margin: 10px 0;
        background-color: white;
        span {
            @include flexRow();
            width: 80px;
            height: 100%;
            cursor: pointer;
            &:hover {
                color: blue;
                border-bottom: 2px solid blue;
            }
        }
        .searchTitleAcitve {
            color: blue;
            border-bottom: 2px solid blue;
        }
    }
    .search-ctn {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        height: 150px;
        padding: 15px;
        box-shadow: 1px 1px 3px 3px #ccc;
        background-color: white;
        p:first-child {
            @include stateFont();
        }
        .search-particulars {
            @include flexRow();
            justify-content: flex-start;
            color: #606266;
            font-style: 15px;
            li {
                width: 200px;
            }
        }
        .searchBtn {
            @include flexRow();
            justify-content: start;

            li {
                @include flexRow();
                box-sizing: content-box;
                margin: 3px;
                height: 40px;
                padding: 0 15px;
                border: 1px solid #ccc;
                cursor: pointer;
                transition: all 0.8s;
                &:hover {
                    background-color: rgba(51, 153, 255, 1);
                    color: white;
                }
            }
            .search_active {
                background-color: rgba(51, 153, 255, 1);
                color: white;
            }
        }
    }
    .search-data {
        margin-top: 10px;
        background-color: white;
        box-shadow: 1px 1px 3px 3px #ccc;
        thead {
            background-color: rgb(245, 247, 249);
        }

        th,
        td {
            height: 60px;
            // line-height: 60px;
            text-align: center;
            border: 1px solid #ccc;
            input {
                width: 18px;
                height: 18px;
            }
        }
        th:first-child,
        td:first-child {
            width: 56px;
        }
    }
    .search-foot {
        @include flexRow();
        justify-content: flex-end;
        margin-top: 20px;
        .pageList {
            @include flexRow();
        }
        .previousPageBtn,
        .nextPageBtn,
        .pageList li {
            @include flexRow();
            width: 32px;
            height: 32px;
            margin-right: 10px;
            border: 1px solid rgba(217, 217, 217, 1);
            // background-color: white;
            border-radius: 6px;
            cursor: pointer;
        }
        .changeBtn,
        .jumpPage {
            height: 32px;
            border-radius: 6px;
            outline: none;
            border: 1px solid #ccc;
        }
        .changeBtn {
            margin-right: 10px;
        }
        .jumpPage {
            width: 48px;
            text-align: center;
        }
    }
}

// 抄表录入
.table-form {
    // height: 1000px;
    background-color: #fff;
    .tableForm-title {
        @include head();
        background-color: white;
    }
    .tableForm-nav {
        display: flex;
        justify-content: space-between;
        align-items: center;
        background-color: #fff;
        // margin-top: 10px;
        height: 60px;
        .tableForm-nav-left {
            @include flexRow();
            li {
                @include flexRow();
                box-sizing: content-box;
                height: 42px;
                color: white;
                padding: 0 15px;
                margin: 0 5px;
                border-radius: 5px;
                cursor: pointer;
            }
            li:nth-child(1) {
                background-color: rgba(51, 153, 255, 1);
            }
            li:nth-child(2),
            li:nth-child(3) {
                background-color: rgba(7, 191, 132, 1);
            }
            li:nth-child(4) {
                width: 60px;
                color: black;
                border: 1px solid #ccc;
                background-color: #fff;
            }
        }
        .tableForm-nav-right {
            @include flexRow();
            li {
                @include flexRow();
                height: 36px;
                input,
                span {
                    height: 100%;
                }
                input {
                    width: 230px;
                    outline: none;
                    outline-style: none;
                    border: 1px solid #ccc;
                }
                span {
                    @include flexRow();
                    width: 50px;
                    background-color: rgba(51, 153, 255, 1);
                    cursor: pointer;
                }
                span:nth-child(2) {
                    margin-right: 10px;
                }
            }
        }
    }
    .tableForm-data {
        width: 100%;
        @include table();
        tbody {
            span {
                color: blue;
                cursor: pointer;
            }
        }
    }
    .tableForm-foot {
        @include foot();
    }
}

// 未缴账单
.notPay {
    .notPay-bill {
        color: red;
        text-align: right;
    }
}

// 缴费通知
.payment-notices {
    tr {
        td:last-child {
            display: flex;
            align-items: center;
            justify-content: space-evenly;
        }
    }
}

// 已交账单
.paid {
    .paid-lable-page {
        @include flexRow();
        justify-content: flex-start;
        margin-top: 10px;
        li {
            @include flexRow();
            height: 40px;
            width: 91px;
            cursor: pointer;
            &:hover {
                color: blue;
                border-bottom: 2px solid blue;
            }
        }
    }
    .paid-active {
        color: blue;
        border-bottom: 2px solid blue;
    }

    .paid-nav {
        .paid-nav-left {
            li:last-child {
                width: 60px;
                color: black;
                border: 1px solid #ccc;
                background-color: #fff;
            }
        }
    }

    .paid-bill {
        color: red;
        text-align: right;
    }
}

// 预存款管理
.advance-deposit {
    .advance-deposit-lable-page {
        @include flexRow();
        justify-content: flex-start;
        margin-top: 10px;
        li {
            @include flexRow();
            height: 40px;
            width: 136px;
            margin: 0 5px;
            cursor: pointer;
            &:hover {
                color: blue;
                border-bottom: 2px solid blue;
            }
        }
        .advanceDeposit-active {
            color: blue;
            border-bottom: 2px solid blue;
        }
    }
    .advanceDeposit-nav {
        .advanceDeposit-nav-left {
            li {
                box-sizing: border-box;
                width: 136px;
            }
        }
    }
}

// 收费设置
// 248, 251, 253 背景颜色
.paySet-index {
    // position: relative;

    .paySet-lablePage {
        @include flexRow();
        justify-content: flex-start;
        border-bottom: 1px solid #ccc;
        background-color: rgb(248, 251, 253);
        margin-left: 5px;
        li {
            @include flexRow();
            width: 136px;
            height: 50px;
            margin-right: 6px;
            cursor: pointer;
            &:hover {
                color: blue;
                border-bottom: 2px solid blue;
            }
        }
        .paySet-lablePage-active {
            color: blue;
            border-bottom: 2px solid blue;
        }
    }
    // 收费项目类别
    .pay-project-class {
        .projectClass-nav {
            .tableForm-nav-left {
                li {
                    width: 106px;
                }
            }
        }
        .projectClass-data {
            .projetctName {
                width: 25%;
            }
        }
    }
    // 自动账单日设置
    .projetct-statementDate {
        .statementData {
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            width: 600px;
            margin: 100px auto;
            li {
                @include flexRow();
                margin-bottom: 30px;
                font-weight: 700;
                font-style: normal;
                font-size: 14px;
                color: #464c5b;
                select {
                    outline: none;
                    border: 1px solid #ccc;
                    color: rgb(170, 165, 165);
                    margin-left: 10px;
                    padding-left: 10px;
                    width: 250px;
                    height: 42px;
                }
            }
            li:last-child {
                @include flexRow();
                // align-self: flex-end;
                width: 223px;
                height: 45px;
                color: white;
                background-color: rgba(51, 153, 255, 1);
                border-radius: 3px;
            }
        }
    }
}
// 模态框
.modalbox-template {
    display: none;
    position: fixed;
    width: 617px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid #d7dde4;
    border-radius: 10px;
    padding: 25px 15px 20px 15px;
    background-color: white;
    z-index: 3;
    .header-div {
        display: flex;
        justify-content: space-between;
        border-bottom: 1px solid #d7dde4;
        box-sizing: border-box;
        padding-left: 30px;
        padding-bottom: 20px;
        img {
            cursor: pointer;
            width: 20px;
            height: 20px;
        }
    }
    ul {
        display: flex;
        flex-direction: column;
        width: 100%;
        padding: 30px 0;
        li {
            display: flex;
            justify-content: space-between;
            align-items: center;
            color: #657180;
            font-size: 14px;
            font-style: normal;
            margin-bottom: 30px;
            label {
                text-align: right;
                width: 100px;
            }
            input,
            select {
                flex: 0.95;
                height: 41px;
                outline: none;
                padding-left: 5px;
                border: 1px solid #d7dde4;
            }
        }
        li:last-child {
            margin-bottom: 0;
        }
    }

    .footer-div {
        width: 100%;
        text-align: center;
        border-top: 1px solid #d7dde4;
        padding-top: 30px;
        button {
            width: 106px;
            height: 42px;
            background: inherit;
            background-color: rgba(7, 191, 132, 1);
            border: none;
            border-radius: 3px;
            font-size: 14px;
            color: #ffffff;
            cursor: pointer;
        }
        .cancel-btn {
            margin-left: 20px;
            background-color: rgba(242, 242, 242, 1);
            color: #44546e;
        }
    }
}
#paySetModal {
    // width: 6px;
    li {
        margin-bottom: 12px;
    }
}
#formDataModal,
#change_formDataModal {
    padding: 5px;
    .model-ul {
        padding: 5px;
        li {
            margin-bottom: 8px;
        }
    }
}
